package desgin.pattern.behavior.interpreter;

/**
 * 解释器上下文环境类。用来存储解释器的上下文环境，比如需要解释的文法等
 * 
 * @author shuai.zuo
 * @date 2015年3月2日
 */
public class Context {
	private String in;
	private int out;

	public Context(String in) {
		this.in = in;
	}

	public String getIn() {
		return in;
	}

	public int getOut() {
		return out;
	}

	public void setOut(int out) {
		this.in = String.valueOf(out);
		this.out = out;
	}

}
